<?php
$graphUrl="https://graph.facebook.com/?ids=";
$urlObject = "http://www.imdb.com/title/tt0098936/,http://www.imdb.com/title/tt0166924/";

$openGraphObjects = json_decode(file_get_contents($graphUrl.urlencode($urlObject)), true);
echo "<ul>";
foreach($openGraphObjects as $o) {
  echo "<li><img src=\"".$o["picture"]."\"><a href=\"index.php?action=detailobject&id=".$o["id"]."\">".$o["name"]."</a></li>";
}
echo "</ul>";
echo "<pre>";
print_r($openGraphObjects);
echo "</pre>";
